
export const getDictLabel = (dict: any[], value: string) => {
  if (dict.length === 0) return "字典不存在！"
  return dict.find(item => item.value === value)?.label ?? "字典值为null！"
}
